import { Text, View, StyleSheet } from 'react-native'
import React, { Component } from 'react'

export default class index extends Component {
  render() {
    return (
      <View>
        <Text style={{fontSize: 30}}>index</Text>
        <Text style={[{fontSize: 42,color: 'red'},{color: '#ff00ff'}]}>index</Text>
        <Text style={[styles.h1]}>Hello React Native</Text>
        <Text style={[styles.h2]}>Hello React Native</Text>
      </View>
    )
  }
}

const styles = StyleSheet.create({
  h1: {
    fontSize: 48,
    fontWeight: 'bold'
  },
  h2: {
    fontSize: 36,
    fontWeight: 'bold'
  }
})
